import { Iform } from "@/base-ui/form";

export const searchFormConfig: Iform = {
  formItems: [
    {
      field: "name",
      type: "input",
      label: "类别名称",
      placeholder: "请输入类别名称",
      rules: [],
    },
    {
      field: "createAt",
      type: "datepicker",
      label: "创建时间",
      rules: [],
      otherOption: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange",
      },
    },
  ],
  labelWidth: "100px",
  itemStyle: {
    padding: "5px 10px",
  },
  colLayout: {
    span: 8,
  },
};
